package src;

import jargs.gnu.CmdLineParser;

public class HelloWorld {
    public static void main(String args[])
    {
        try
        {
            ServerConfiguration config = ServerConfiguration.ReadConfiguration(args);
            System.out.println("clientAddress:" + config.ServerAddress());
            for (int i = 0; i < config.OtherServerAddresses().size(); ++i)
            {
                System.out.println("serverAddress:" + config.OtherServerAddresses().get(i));
            }
        }
        catch(CmdLineParser.OptionException e)
        {
            e.printStackTrace();
        }

    }
}

